package com.zoo.diannaopeijian.service;

import com.zoo.diannaopeijian.common.page.Page;
import com.zoo.diannaopeijian.domain.ComponentParameterDetail;

import java.util.List;

/**
 * 配件参数细节服务
 */
public interface ComponentParameterDetailService {
    /**
     * 添加配件参数细节
     * @param componentParameterDetail
     * @return
     */
    boolean addComponentParameterDetail(ComponentParameterDetail componentParameterDetail);

    /**
     * 更新配件参数细节
     * @param componentParameterDetail
     * @return
     */
    boolean updateComponentParameterDetail(ComponentParameterDetail componentParameterDetail);

    /**
     * 删除配件参数细节
     * @param componentParameterDetailId
     * @return
     */
    boolean deleteComponentParameterDetailById(Integer componentParameterDetailId);

    /**
     * 获取配件参数细节
     * @param componentParameterDetail
     * @return
     */
    List<ComponentParameterDetail> getComponentParameterDetail(ComponentParameterDetail componentParameterDetail);

    /**
     * 分页获取参数细节
     * @param componentParameterDetail
     * @param page
     * @return
     */
    List<ComponentParameterDetail> getComponentParameterDetailWithPage(ComponentParameterDetail componentParameterDetail, Page page);
}
